var mongoose = require('mongoose')
var Schema = mongoose.Schema //定义表模型
var groupSchema = new Schema({
  "groupId": { type: String },
  "groupName": String,
  "groupDate": String,
  "groupTime": String,
  "groupImg": String,
  "groupDescribe": String,
  "userIdArr": Array,
  "answerIdArr": Array,
  "maxNum": Number,
  "mainUser":String,
  "unjoinNum":Number
})
module.exports = mongoose.model('Group', groupSchema)